import rest from '@/api/request'
//获取-角色详情
export function getRoleDetail(id: any) {
    return rest.get(`/sys/role/${id}`)
}
//分配权限-角色
export function assignPermission(data: any) {
    return rest.put(`/sys/role/assignPrem`, data)
}